package tk.mybatis.springboot.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 自定义资源文件
 * Created by jie_r on 2017/8/10.
 */
@Component
@ConfigurationProperties(prefix = "resource")
@PropertySource(value = "classpath:resource.properties", encoding = "UTF-8")
public class ResourceProperties {
    private String load_successful;
    private String load_error;
    private String update_successful;
    private String update_error;
    private String upload_successful;
    private String upload_error;
    private String register_successful;
    private String register_error;
    private String login_successful;
    private String exit_successful;

    public String getLoad_successful() {
        return load_successful;
    }

    public void setLoad_successful(String load_successful) {
        this.load_successful = load_successful;
    }

    public String getLoad_error() {
        return load_error;
    }

    public void setLoad_error(String load_error) {
        this.load_error = load_error;
    }

    public String getUpdate_successful() {
        return update_successful;
    }

    public void setUpdate_successful(String update_successful) {
        this.update_successful = update_successful;
    }

    public String getUpdate_error() {
        return update_error;
    }

    public void setUpdate_error(String update_error) {
        this.update_error = update_error;
    }

    public String getUpload_successful() {
        return upload_successful;
    }

    public void setUpload_successful(String upload_successful) {
        this.upload_successful = upload_successful;
    }

    public String getUpload_error() {
        return upload_error;
    }

    public void setUpload_error(String upload_error) {
        this.upload_error = upload_error;
    }

    public String getRegister_successful() {
        return register_successful;
    }

    public void setRegister_successful(String register_successful) {
        this.register_successful = register_successful;
    }

    public String getRegister_error() {
        return register_error;
    }

    public void setRegister_error(String register_error) {
        this.register_error = register_error;
    }

    public String getLogin_successful() {
        return login_successful;
    }

    public void setLogin_successful(String login_successful) {
        this.login_successful = login_successful;
    }

    public String getExit_successful() {
        return exit_successful;
    }

    public void setExit_successful(String exit_successful) {
        this.exit_successful = exit_successful;
    }
}
